import request from '@/utils/request'

// 获取上传签名
export function policy() {
  return request({
    url:'/oss/getUploadPolicy',
    method:'get',
  })
}

// 上传回调
export function callback(data) {
  return request({
    url: '/oss/uploadCallback',
    method: 'post',
    data: data
  })
}

//查询文件（包含下载签证)
export function queryFileInfoWithPolicy(data) {
  return request({
    url: '/oss/queryFilesWithPolicy',
    method: 'post',
    data: data
  })
}